<extend name="Public/base"/>
<block name="body">
<!-- 		<div class='row'>
				<div class="span8">
				<?php if ($jump_url) {
					?>
				<a href="<?php echo $jump_url; ?>"  target="_blank"> <button class="button">Sign In C6</button></a>
					<?php } else { ?>
				<a href="__URL__/login"  target="_blank"> <button class="button">Sign In C6</button></a>
				<?php
				} ?>
				
				</div>
				<div class="span4  pending_work">
				<h2>待办事件</h2>
				</div>
		</div>
		<div class="row">
				<div class="span12 flat_info_waiting">
				<h2>待阅信息</h2>
				</div>
		</div> -->


	<!-- Stack the columns on mobile by making one full-width and the other half-width -->
<div class="row">
  <div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div>
  <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
</div>

<!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop -->
<div class="row">
  <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
  <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
  <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
</div>

<!-- Columns are always 50% wide, on mobile and desktop -->
<div class="row">
  <div class="col-xs-6">.col-xs-6</div>
  <div class="col-xs-6">.col-xs-6</div>
</div>


</block>
<block name="script">


	<script type="text/javascript">
	$(function(){
		var  jump =  '<?php echo $jump_url; ?>';
		<?php if ($pending_work_list) : ?>
		var  data  = $.parseJSON('<?php echo $pending_work_list; ?>');
		var  lists = data.MessageList;
		for (var k in lists) {
			var html = '';
			html += lists[k].ModuleTypeName +'<br>';
			html += lists[k].SendTime +'<br>';
			html += '<a href="'+jump+lists[k].MessageUrl+'" target="_blank">'+lists[k].MessageTitle +'</a><br>';
			html += lists[k].SendUserCode +'<br>';
			$('.pending_work').append(html);
		};
		<?php  endif; ?>
		<?php if ($flat_info_waiting) : ?>
		var  rdata  = $.parseJSON('<?php echo $flat_info_waiting; ?>');
		var  rlists = rdata.MessageList;
		for (var k in rlists) {
			var html = '';
			html += rlists[k].ModuleTypeName +'<br>';
			html += rlists[k].SendTime +'<br>';
			html += '<a href="'+jump+rlists[k].MessageUrl+'" target="_blank">'+rlists[k].MessageTitle +'</a><br>';
			html += rlists[k].SendUserCode +'<br>';
			$('.flat_info_waiting').append(html);
		};
		<?php  endif; ?>
	});
	</script>
</block>